package vip.xiaonuo.biz.modular.watchtask.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 盯防审核记录(TaskAuditRecord)表实体类
 *
 * @author h
 * @since 2025-11-19 14:46:53
 */
@Data
@TableName("tb_task_audit_record")
@ApiModel(value = "盯防审核记录", description = "盯防审核记录")
public class TaskAuditRecord implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "记录ID")
    @TableId(type = IdType.ASSIGN_ID)
    private String recordId;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "版本号")
    @Version
    private Integer version;

    @ApiModelProperty(value = "上报ID")
    private String taskId;

    @ApiModelProperty(value = "记录名称")
    private String taskName;

    @ApiModelProperty(value = "创建人ID")
    private String createUserId;

    @ApiModelProperty(value = "创建人名称")
    private String createUserName;

    @ApiModelProperty(value = "下一流程人ID")
    private String nextUserId;

    @ApiModelProperty(value = "下一流程人名称")
    private String nextUserName;

    @ApiModelProperty(value = "审核状态 0=不通过1=通过")
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer auditStatus;

    @ApiModelProperty(value = "当前状态")
    private Integer currentStatus;

    @ApiModelProperty(value = "下一状态")
    private Integer nextStatus;

    @ApiModelProperty(value = "备注")
    private String remark;

}
